package com.yidu.boss.sys.service;

import com.yidu.boss.sys.domain.Exchange;
import com.yidu.boss.sys.domain.ExchangeExample;

import java.util.List;

public interface ExchangeService {
    //条件查询所有
    List<Exchange> selectByExample(ExchangeExample exchangeExample);
    //模糊查询所有
    List<Exchange> selectLike(String exchange);
    List<Exchange> selectSomeByMore(String condition);
    //添加
    int insertExchange(Exchange exchange);
    //修改
    int updateExchange(Exchange exchange);
    //删除
    int deleteExchange(String id);
}
